<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        var fruit = {
            apple: 20,
            pear: 20,
            peach: 10
        };
        // write your code here...
        for(var item in fruit){
            console.log(fruit[item])
        }
    </script>
</head>
<body>

</body>
</html>